<br>	
   &nbsp;&nbsp;&nbsp;<font size="3px">Vendors Statistics:</font>
<br><br>

	
	<table align1="center" cellpadding="2" cellspacing="2" border="1"> 
		<tr style="background-color: #ffffcf; border: solid 1px #3997FF;">
			<td  align="center" >User</td>
			<td  align="center" >Status</td>
			<td  align="center" >mail request qty</td>
			<td  align="center" >mail response qty</td>
			<td  align="center" > % </td>
		</tr>
	{foreach from=$users item=user}
		<tr  style="background-color: #ffffff; border: solid 1px #3997FF;">
			<td  align="right">{$user.name}</td>
			<td  align="right">{$user.user}</td>
			<td  align="right">{$user.mail_response_qty}</td>
			<td  align="right">{$user.mail_request_qty}</td>
			<!--<td  align1="right" width="200"><div style="background-color: #ff9fef; border: solid 1px #3997FF; width:77; height:19;" align1="left">1</div><div style="background-color: #dfffef; border: solid 1px #3997FF; width:77; height:19;" align1="left">1</div>12%</td>
			
			<td  align="right">{if $vendor.sum_rating == ""}0{else}{$vendor.sum_rating}{/if}</td>
			<td  align="left" >{if $vendor.vendor_name == ""}<font color="red">Un defined</font>{else}<a href="/admin/?path=orderslist,vendorslist&page=edit&id={$vendor.vendor_id}" title="view details" style="text-decoration:none;"><div height="22pt">{$vendor.vendor_name}</div></a>{/if}</td>
			
			<td><table cellpadding="0" cellspacing="0" style="border: solid 1px #3997FF; width:200;"><tr>{if $vendor.sum_rating!="" && ($vendor.sum_rating/$rating_sum*200|string_format:"%d" > 0)}<td style="background-color: #ef9faf; width:{$vendor.sum_rating/$rating_sum*200|string_format:"%d"};"></td>{/if}{if ($vendor.sum_rating/$rating_sum*200|string_format:"%d" < 100)}<td style="background-color: #efefff; height:13;"></td>{/if}<tr/></table></td>
			<td align="right">&nbsp;{if $vendor.sum_rating=="" || $vendor.sum_rating==0}0%{else}{$vendor.sum_rating/$rating_sum*100|string_format:"%d"}%{/if}</td>
			-->
			
		</tr>
	{/foreach}
	</table>
		
   
<br><br>
&nbsp;
<input type='button' value='Cansel' class="button" onclick="javascript: history.back();"/>
